<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page import="com.dao.NoticeDao"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<div id="page">
	<div id="sidebar">
		<ul>
			<li>
				<div style="clear: both;">
					&nbsp;
				</div>
			</li>
			<li>
				<h2>
					最新公告
				</h2>
				<%
					String message = new NoticeDao().findNewNotice();
				%>
				<p><%=message%></p>

			</li>
			<li>
				<h2>
					快速导航
				</h2>
				<ul>
					<li>
						<a href="./points.jsp">教学大纲</a>
					</li>
					<li>
						<a href="./books.jsp">推荐书籍</a>
					</li>
					<li>
						<s:a action="upload!getRessForStu.action">课程资源</s:a>
					</li>
					<li>
						<a
							href=<%=request.getScheme() + "://" + request.getServerName()
					+ "/fluxbb"%>
							target="view_window">互动论坛</a>
					</li>
				</ul>
			</li>
		</ul>
	</div>
	<!-- end #sidebar -->